<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>


<c:if test="${requestScope.index1!=0}">

	<div class="widget widget-nopad">

		<div class="widget-header">
			<i class="icon-list-alt"></i>
			<h3>Oferta 1</h3>
		</div>
		<!-- /widget-header -->

		<div class="widget-content">

			<ul class="news-items">
				<c:forEach items="${requestScope.lstOferta}" var="objeto"
					varStatus="i">
					<c:if test="${objeto.getNo_ubic_page().equals('1')}">
						<li>

							<div class="news-item-detail">
								<a href="javascript:;" class="news-item-title">${objeto.getNo_descripcion()}</a>
								<p class="news-item-preview">
									${objeto.getNo_servicio()}                                                 
								</p>
							</div>

							<div class="news-item-date">		
											<span class="news-item-day">Valido</span> 		
								<span class="news-item-month">${objeto.getFe_inicio()}</span>
								<span class="news-item-month"> ${objeto.getFe_final()}</span>
							</div>
						</li>
						
						
					</c:if>
				</c:forEach>
				
			</ul>

		</div>
		<!-- /widget-content -->

	</div>

</c:if>
<c:if test="${requestScope.index1==0}">

	<div class="widget">

		<div class="widget-header">
			<i class="icon-star"></i>
			<h3>Quick Stats</h3>
		</div>
		<!-- /widget-header -->

		<div class="widget-content">

			<div class="stats">

				<div class="stat">
					<span class="stat-value">12,386</span> Site Visits
				</div>
				<!-- /stat -->

				<div class="stat">
					<span class="stat-value">9,249</span> Unique Visits
				</div>
				<!-- /stat -->

				<div class="stat">
					<span class="stat-value">70%</span> New Visits
				</div>
				<!-- /stat -->

			</div>
			<!-- /stats -->


			<div id="chart-stats" class="stats">

				<div class="stat stat-chart">
					<div id="donut-chart" class="chart-holder"></div>
					<!-- #donut -->
				</div>
				<!-- /substat -->

				<div class="stat stat-time">
					<span class="stat-value">00:28:13</span> Average Time on Site
				</div>
				<!-- /substat -->

			</div>
			<!-- /substats -->

		</div>
		<!-- /widget-content -->

	</div>
	<!-- /widget -->

</c:if>
